export default {
    setToken({commit}, token) {
        commit('setToken', token)
    },
    setUserInfo({commit}, userInfo) {
        commit('setUserInfo', userInfo)
    },
    setIsLogin({commit}, isLogin) { /**修改用户登录状态 */
        commit('setIsLogin', isLogin)
    },
    setRoomId({commit}, roomId) { /**修改用户关联房屋号 */
        commit('setRoomId', roomId)
    },
    setRoomIdName({commit}, roomIdName) { /**修改用户关联房屋号 */
        commit('setRoomIdName', roomIdName)
    },
    setCommunityId({commit}, communityId) { /**修改用户关联的社区id */
        commit('setCommunityId', communityId)
    },
    clearStates({commit}) {
        commit('clearStates');
    }
}